package com.csnf.order.feign.falldack;

import com.csnf.order.feign.ProductFeignClient;
import com.csnf.pojo.Product;
import org.springframework.stereotype.Component;

@Component
public class ProductFeignFalldack implements ProductFeignClient {
    @Override
    public Product getProductById(Integer id) {
        Product  product = new Product(0,"未知商品"+id,0,0);
        return product;
    }
}
